package com.itheima.dao.store;

import com.itheima.domain.store.QuestionItem;

import java.util.List;

public interface QuestionItemDao {
    //保存
    int save(QuestionItem questionItem);

    //删除
    int delete(QuestionItem questionItem);

    //更新
    int update(QuestionItem questionItem);

    //根据ID查找
    QuestionItem findById(String id);

    //查询所有
    List<QuestionItem> findAll(String questionId);

}
